package com.sky.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.entity.Dish;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

//@Service
public interface DishService extends IService<Dish> {
    void changeDish(DishDTO dishDTO);

    Map<String, Object> findAllPage(Integer categoryId, String name, Integer page, Integer pageSize, Integer status);

    DishVO getDishVoServiceById(Integer id);

    void addDish(DishDTO dishDTO);

    void deleteDishByIds(String ids);

    List<Dish> findAllByCategoryId(Integer categoryId);
}
